package com.qf.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Table(name = "new_detail")
@Entity
public class NewDetail  implements Serializable {

	//jpa注解
	@Id
	private Integer id;

	private String title;

	private String summary;

	private String author;

	//@Column(name = "create_date")
	private java.util.Date createDate;

}
